<div class="product-header">
    Sản phẩm tiêu biểu
</div>
<div class="product-list">
    <?php $i = 1;
    foreach ($aryTopProduct as $key => $value) {
 ?>
        <div class="item">
            <div class="box">
                <div class="box-item">
                    <img src="<?php echo $sub_domain; ?>/images/upload/thumbnail/<?php echo $value['product_main_image']; ?>">
                    <div class="product-name">
<?php echo $value['product_title']; ?>
                </div>
            </div>
        </div>
    </div>
<?php if ($i % 4 == 0) { ?>
            <div class="clear"></div>
    <?php } ?>
    <?php $i++;
    } ?>
</div>